<?php

namespace App\Models;

class Tag extends Base
{
    protected $table = 'mall_tags';

    public function product() {
        return $this->belongsToMany(Product::class, 'mall_product_tags', 'tag_id', 'product_id');
    }

}
